import { defineStore } from 'pinia'

export const useMainStore =  defineStore( 'main',{
    state: () => {
      return {
        count:100,
        foo:'bar'
      }
    },
    getters: {},
    actions: {
      increment() {
        this.count++
        this.foo = 'hello'
      }
    }
})
